home *** CD-ROM | disk | FTP | other *** search
- Path: newshost.lanl.gov!tanmoy
- From: tanmoy@qcd.lanl.gov (Tanmoy Bhattacharya)
- Newsgroups: comp.lang.c
- Subject: Re: array passing problem
- Date: 02 Feb 1996 18:56:46 GMT
- Organization: Los Alamos National Laboratory
- Message-ID: <TANMOY.96Feb2115646@qcd.lanl.gov>
- References: <cl3kj4C00bkWMWlEJH@andrew.cmu.edu> <4esnml$7t5@orb.direct.ca>
- NNTP-Posting-Host: qcd.lanl.gov
- Mime-Version: 1.0
- Content-Type: text
- In-reply-to: etoivane@direct.ca's message of 2 Feb 1996 10:06:13 GMT
-
- In article <4esnml$7t5@orb.direct.ca> etoivane@direct.ca (Ed Toivanen)
- writes:
- <snip>
- >void main(int argc, char **argv[])
- ^^^^^^^^?
- char **argv instead?
-
- char *argv[] and char **argv are currently completely equivalent in a
- parameter list. main must have return type int and not void.
-
- I do not know what the questin is that you are trying to answer.
-
- Cheers
- Tanmoy
-
- --
- tanmoy@qcd.lanl.gov(128.165.23.46) DECNET: BETA::"tanmoy@lanl.gov"(1.218=1242)
- Tanmoy Bhattacharya O:T-8(MS B285)LANL,NM87545 H:#9,3000,Trinity Drive,NM87544
- Others see <gopher://yaleinfo.yale.edu:7700/00/Internet-People/internet-mail>,
- <http://alpha.acast.nova.edu/cgi-bin/inmgq.pl>or<ftp://csd4.csd.uwm.edu/pub/
- internetwork-mail-guide>. -- <http://nqcd.lanl.gov/people/tanmoy/tanmoy.html>
- fax: 1 (505) 665 3003 voice: 1 (505) 665 4733 [ Home: 1 (505) 662 5596 ]
-